<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>10文本和字体相关</title>
    <style>
        div {
            width: 200px;
            height: 50px;
            border: 1px solid red;
            /*文本修饰：上划线/下划线/删除线/无*/
            text-decoration: overline;
            text-decoration: underline;
            text-decoration: line-through;
            text-decoration: none;
            /*水平对其方式*/
            text-align: right;
            text-align: center;
            /*行高,多行控制行间距，单行控制垂直居中*/
            line-height: 50px;
            /*阴影：颜色 X偏移量 Y偏移量 浓度*/
            text-shadow: red 10px 10px 5px;
            /*设置字体大小*/
            font-size: 20px;
            /*设置加粗*/
            font-weight: bold;
            /*设置斜体*/
            font-style: italic;
            /*设置字体*/
            font-family: cursive,"Adobe Devanagari",Arial;
        }

        h3 {
            /*去掉加粗*/
            font-weight: normal;
            /*设置字体大小*/
            font: 50px cursive;
        }

        a {
            text-decoration: none
        }
    </style>
</head>
<body>
<h3>111</h3>
<a href="">超链接</a>
<div>10文本和字体相关</div>
</body>
</html>